//
//  Common.swift
//  Xiaozihui
//
//  Created by 校企荟 on 2017/8/22.
//  Copyright © 2017年 校企荟. All rights reserved.
//

import Foundation
import IQKeyboardManagerSwift
import SDCycleScrollView
import SnapKit
import YYModel
import TZImagePickerController

let ScreenWidth = UIScreen.main.bounds.size.width

let ScreenHeight = UIScreen.main.bounds.size.height

let ScaleX = ScreenWidth / 375.0

let ScaleY = ScreenHeight / 667.0

let Scale = UIScreen.main.scale

let FontScale = ScaleX



// MARK:输出宏
func print<T>(message : T, file : String = #file, lineNumber : Int = #line) {
    #if DEBUG
        let fileName = (file as NSString).lastPathComponent
        print("[\(fileName):line:\(lineNumber)]- \(message)")
    #endif
}

func XZHColor(red:CGFloat,green:CGFloat,blue:CGFloat,alpha:CGFloat)->(UIColor){
    return UIColor(red: red/255.0, green: green/255.0, blue: blue/255.0, alpha: alpha)
    
}


let mainColor = UIColor(red: 193/255.0, green: 56/255.0, blue: 56/255.0, alpha: 1)

		
